package com.hcs.controller;

import com.hcs.comm.R;
import com.hcs.dto.NotificationDto;
import org.springframework.web.bind.annotation.*;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author hcs
 * @since 2025-01-12 10:06
 */
@RestController
@RequestMapping("/notification")
@CrossOrigin
public class NotificationController {

    // 发送通知
    @PostMapping
    public R<?> sendNotification(@RequestBody NotificationDto notificationDto) {
        // 实现发送通知逻辑
        return R.success();
    }
}
